<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=7" />
        <title>后台管理中心</title>
        <link rel="stylesheet" type="text/css" href="css/base.css" />
        <link rel="stylesheet" type="text/css" href="css/reset.css" />
        <link rel="stylesheet" type="text/css" href="css/my_form.css" />
        <script type="text/javascript" src="js/jquery.min.js"></script>
        <script type="text/javascript" src="js/common.js"></script>
    </head>
    <body>	
<div class="container">
    <div class="subnav">
        <div class="content-menu ib-a blue line-x">
            <a href="index.php" class="on"><em>网站常用信息设置</em></a><span>|</span>
        </div>
    </div>
    <form action="" method="post" id="myform">
        <div class="pad-10">
            <div class="col-tab">
                <ul class="tabBut cu-li">
                    <li id="tab_setting_1" class="on" onclick="SwapTab('setting','on','',3,1);">基本配置</li>
                    <li id="tab_setting_2" onclick="SwapTab('setting','on','',3,2);">邮箱配置</li>
                    <li id="tab_setting_3" onclick="SwapTab('setting','on','',3,3);">短信帐号设置</li>
                </ul>
                <div id="div_setting_1" class="contentList pad-10">
                    <table width="100%" class="table_form">
                        <tr>
                            <th width="120">网站名称:</th>
                            <td class="y-bg">
                                <input type="text" class="input-text" name="base[name]" size="40" value="广州房道网有限公司" />
                            </td>
                        </tr>
                        <tr>
                            <th width="120">标题:</th>
                            <td class="y-bg">
                                <input type="text" class="input-text" name="base[title]" size="60" value="这是测试用标题" />
                            </td>
                        </tr>
                        <tr>
                            <th width="120">网站域名:</th>
                            <td class="y-bg">
                                <input type="text" class="input-text" name="base[domain]" size="40" value="http://www.google.com" />
                            </td>
                        </tr> 
                        <tr>
                            <th width="120">所属分类:</th>
                            <td class="y-bg">
                                <select>
                                    <option value="">--国内新闻--</option>
                                    <option value="">--国内新闻--</option>
                                    <option value="">--国内新闻--</option>
                                    <option value="">--国内新闻--</option>
                                    <option value="">--国内新闻--</option>
                                    <option value="">--国内新闻--</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <th width="120">关键字:</th>
                            <td class="y-bg">
                                <input type="text" class="input-text" name="base[keywords]" size="80" value="这是测试用关键字" />
                            </td>
                        </tr> 	
                        <tr>
                            <th width="120">描述:</th>
                            <td class="y-bg">
                                <textarea name="base[description]" cols="80">这是测试用标题...什么情况啊</textarea>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="div_setting_2" class="contentList pad-10 hidden">
                    <table width="100%"  class="table_form">
                        <tr>
                            <th width="120">邮件发送模式</th>
                            <td class="y-bg">
                                <input name="mail[mail_type]" value="1" type="radio"  checked /> 采用其他的SMTP服务
                                <input name="mail[mail_type]" value="0" type="radio" disabled /> 采用服务器内置的Mail服务 
                            </td>
                        </tr>
                        <tbody id="smtpcfg" style="">
                            <tr>
                                <th>SMTP 服务器</th>
                                <td class="y-bg">
                                    <input type="text" class="input-text" name="mail[mail_server]" id="mail_server" size="30" value="smtp.163.com"/>
                                </td>
                            </tr>  
                            <tr>
                                <th>SMTP 端口</th>
                                <td class="y-bg">
                                    <input type="text" class="input-text" name="mail[mail_port]" id="mail_port" size="30" value="25"/>
                                </td>
                            </tr> 
                            <tr>
                                <th>发信人邮件地址</th>
                                <td class="y-bg">
                                    <input type="text" class="input-text" name="mail[mail_from]" id="mail_from" size="30" value=""/>
                                </td>
                            </tr>   
                            <tr>
                                <th>SMTP 身份验证用户名</th>
                                <td class="y-bg">
                                    <input type="text" class="input-text" name="mail[mail_user]" id="mail_user" size="30" value=""/>
                                </td>
                            </tr> 
                            <tr>
                                <th>SMTP 身份验证密码</th>
                                <td class="y-bg">
                                    <input type="password" class="input-text" name="mail[mail_password]" id="mail_password" size="30" value=""/>
                                </td>
                            </tr>
                        </tbody>
                        <tr>
                            <th>测试邮件地址</th>
                            <td class="y-bg">
                                <input type="text" class="input-text" name="mail_to" id="mail_to" size="30" value=""/>
                                <input type="button" class="button" onClick="javascript:testMail();" value="测试发送">
                            </td>
                        </tr>           
                    </table>
                </div>
                <div id="div_setting_3" class="contentList pad-10 hidden">
                    <table width="100%"  class="table_form">
                        <tr>
                            <th>短信接口帐号</th>
                            <td class="y-bg">
                                <input type="text" class="input-text" name="sms[name]" size="30" value="gongming"/>
                            </td>
                        </tr>
                        <tr>
                            <th>短信接口密码</th>
                            <td class="y-bg">
                                <input type="password" class="input-text" name="sms[pwd]" size="30" value="85272100" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="bk15"></div>
                <input name="dosubmit" type="submit" value="提交" class="button" />
            </div>
        </div>
    </form>
</div>
</body>
</html>
